// 环境配置
export const ENV_CONFIG = {
  // 开发环境
  development: {
    // 使用相对路径
    API_BASE_URL: '/rtc',
    WEBRTC_URL: 'webrtc://47.94.76.165:18000/live/test',
    APP_ENV: 'development',
    // 添加流配置
    RTMP_URL: 'rtmp://47.94.76.165:11935/live/test',
    HTTP_FLV_URL: 'http://47.94.76.165:18080/live/test.flv',
    HLS_URL: 'http://47.94.76.165:18080/live/test.m3u8',
    RTMP_URL_ORIGINAL: 'rtmp://47.94.76.165:11935/live/test',
    HTTP_FLV_URL_ORIGINAL: 'http://47.94.76.165:18080/live/test.flv',
    HLS_URL_ORIGINAL: 'http://47.94.76.165:18080/live/test.m3u8'
  },
  // 生产环境
  production: {
    // 使用相对路径，基于nginx配置的代理路径
    API_BASE_URL: '/rtc',
    // 通过nginx域名代理固定端口 - 修正WebRTC URL路径
    WEBRTC_URL: 'webrtc://facecheck.ddcoder.laozhan-qiqi-duoduo.space/live/test',
    APP_ENV: 'production',
    // 添加流配置，使用域名
    RTMP_URL: 'rtmp://facecheck.ddcoder.laozhan-qiqi-duoduo.space/live/test', // 改为直接访问IP
    HTTP_FLV_URL: 'https://facecheck.ddcoder.laozhan-qiqi-duoduo.space/flv/live/test.flv',
    HLS_URL: 'https://facecheck.ddcoder.laozhan-qiqi-duoduo.space/flv/live/test.m3u8',
    RTMP_URL_ORIGINAL: 'rtmp://47.94.76.165:11935/live/test',
    HTTP_FLV_URL_ORIGINAL: 'http://47.94.76.165:18080/live/test.flv',
    HLS_URL_ORIGINAL: 'http://47.94.76.165:18080/live/test.m3u8'
  }
}; 